package blackhouse.advanced.RandomFileTest;

public class Employee
{
	static final int LEN = 8;
    String name;
    int age;
    public Employee(String name,int age){
    	if(name.length()>LEN)
    	{
    		this.name = name.substring(0,LEN);
    	}else{
    		while(name.length()<LEN){
    			name+="\u0000";
    		}
    	}
    	this.name = name;
    	this.age = age;
    }
}
